﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000094 RID: 148
	internal class FixNegativeInt16 : IInt16Decoder
	{
		// Token: 0x0600026F RID: 623 RVA: 0x0000B578 File Offset: 0x00009978
		private FixNegativeInt16()
		{
		}

		// Token: 0x06000270 RID: 624 RVA: 0x0000B580 File Offset: 0x00009980
		public short Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (short)((sbyte)bytes[offset]);
		}

		// Token: 0x040000B7 RID: 183
		internal static readonly IInt16Decoder Instance = new FixNegativeInt16();
	}
}
